package com.md24housecall.model;

import android.text.TextUtils;

public class User {
	private String userId="";
	private String userName="";
	private int status=-1;
	private String skypeName="";
	private int callTotal=0;
	private String userCode="";
	private String code="";
	private int type=0;
	private int deleted=0;
	private String email="";
	
	public void setId(String value){
		userId=value;
	}
	
	public String getId(){
		return userId;
	}
	
	public void setUserName(String value){
		userName=value;
	}
	
	public String getUserName(){
		return userName;
	}
	
	public void setStatus(int value){
		status=value;
	}
	
	public int getStatus(){
		return status;
	}
	
	public void setSkypeName(String value){
		skypeName=value;
	}
	
	public String getSkypeName(){
		return skypeName;
	}
	
	public void setCallTotal(int value){
		callTotal=value;
	}
	
	public int getCallTotal(){
		return callTotal;
	}
	
	public void setUserCode(String value){
		userCode=value;
	}
	
	public String getUserCode(){
		return userCode;
	}
	
	public void setCode(String value){
		code=value;
	}
	
	public String getCode(){
		return code;
	}
	
	public void setType(int value){
		type=value;
	}
	
	public int getType(){
		return type;
	}
	
	public void setDeleted(int value){
		deleted=value;
	}
	
	public int getDeleted(){
		return deleted;
	}
	
	public void setEmail(String value){
		email=value;
	}
	
	public String getEmail(){
		return email;
	}
	
	public boolean isDisable() {
		return status == 0;
	}
	
	public boolean isUserEmpty() {
		return TextUtils.isEmpty(userId) && TextUtils.isEmpty(userCode);
	}
}
